let obj1 = {
  1: '张三',
  2: '李四',
  3: '王五'
}

let key = Object.keys(obj1);
let value = Object.values(obj1);
let entry = Object.entries(obj1);
console.log(key);
console.log(value);
console.log(entry);